Begin refactoring to seperate space engine and capnproto