created methods to query the database and create tables
shortened some of the friendly headings