Move helper fuctions to the top of the file
Add docstrings describing how to successfully subclass FeatureSpace