updates 11/5/14

Updated the databaseDef file. Had unnecessary fields and removed them
from the schema. Updated Get times with some of the logic needed to
perform the queries.