better interaction with online database

readings that make up a single run are given the same description,
making for an easier retrieval of data.
uses SQL instead of just http post.