Updated Models

-Fixed an error that was preventing model objects to be queried
directly. Now you can get maps from the database by using a command like
Maps.query.all()

-Updated the repr() function to be in JSON format