add configuration sample file
fix some missing template
add model for sensor and sensor_data