How to lay the foundation for becoming a smart city