Fully working DB to JSON parser

Need to clean up code, make it refer to a new file for the server and
set up to read server credentials from a file. Connector should be a
connector for MySQL. Need to set up the Tomcat server as well.