Added javadoc, implementing Workflow
Implemented Workflow. Can now choose the type data when cloning.  AbstractElement is broken (next on my todo list).