Smart City, a Model and an Architecture of a Real Project: SensorNet