Removing old code
Adding userdata input and output (observatory) to states