Reorganize maven into separate modules in order to prepare for modularization

**do not review yet**