Moved define statements into a separate file.
Added a file spaceapi.php that can return either the spaceapi.json or a jsonp-wrapped version.
Replaced static spaceapi.json endpoint documentation with docs for spaceapi.php.
Nicer URL.
Separate config, json-templates, separate data file for state.