Added some configuration lines
Removed unused code
Began synchronizing database access.