Added partitioning api and impl modules
Moved P2P partitioning to partitioning-impl