Add metric model and migration
Add plant variables models
Add scopes for each plant variable