added routes and methods to query the db for what we need
Merge pull request #6 from heyellieday/api

added routes and methods to query the db for what we need