added get and remove flowspace, started working out the create flowspace functions