BROKEN - DO NOT RUN THIS COMMIT. Framework for SPOT integration, which is about 300x more invastive than I imagined.