moved SpaceAPI to plugin