Added config file

Made it so that the database information is loaded from a config file.