Repository reorganization to prepare for split into submodules

Related ISSUE #16