Moved some config information into database and updated installer
TODO: Write a admin page to configure those things