cleaned up db_controller & database setup files