Moving things into sensor module
Fixing paths
Renaming file
Working script that populates averages
Moving db connection for scripts