changed the structure to maven