Adding a Maven configuration file and restructuring the source files accordingly