Add DB logic to SpaceGameLogic
Minor fixes