Pushed the code for joining multiple ships

Set up a structure such that joining multiple ships will be possible
with a couple of small changes