Created code to add and edit games to the database

Added necessary code to main.js to add new items to the database, as
well as to pull them into the app to display them.  Edit works as well.
 Now onto delete...