tidying up code, functions in wrong place, still issue with 30 min increments
fixed time on page load, prototyped some functions
mov method now working, should be bug free, need to restore php timezones
restored php timzone argument
Merge branch 'develop'