Reorganize maven into separate modules in order to prepare for modularization

**please review**