SQL method update

Update prior to senior design meeting. Functioning methods to insert
and query the database. No error checking for functions as of yet.