convert proect to maven, add a class to work with the database