Made databasehandlers and configured main to "work"