Added database support through DAOFacade and DAO's. Client request for
settings now return settings by username. Some minor bugfixes.