Changed project's structure to a Maven project and splitted it into a core project and a webapp example to show how it works