Fixed test cases to use the new class model
Documentation pass

@closure to signal the use of closure
Class management

Several bug fixes, the main one being the constructor recursion.