Database

The program can now send to the database stably and is ready to be pulled into the master branch.