changed main app to dcmdb, cleaned up settings and how they are set