Refactor of database helper
weather forecast for 3 days working
known bugs- none