moved database connection settings from settings.php to user config section of init.php. Deleted settings.php
added unit test class for db class. Added setup and teardown functions. Need to flesh out unit tests.