Moved build to Maven (and split into modules)