updated database, refactored weather model, added a basic insert as an exercise