clean up and retrofit of the Space node, including moving some logic to template.php for improved organization and performance, #41, not done yet