Made DatabaseConnector not static. Added constructor and implemented into the program