create dependencies on new p2 repo and refactor source to use them (WIP)