Remove most code and move to separate repos