Added ability to override database.ini to keep production details out of github, removed some dead code