Cleaned up code.

Added versions, documentation, and removed GUI reference from
controller.