Lots of cleanup and added the initial prototype story, also generated javadoc (which needs work).