Time in database is now based on time the data is added to server

This has led to some changes to constants and optimizations
Code clean + renaming

 Headers has been cleaned up
 Variables and functions has been renamed to better indicate what they do
 Some functions have been merged for simplicity
Streamlining print statements