Switch to maven as building system. Rename submodules to prepare for split. More renamings for cleaner API