Add models

Added real time and configuration models. Added serialization
capabilities to SensorSnapshotModel and SensorAggregateModel.