Cleaning up pom's and setting up database access