Issue#147 implement classchooser

Closes issue #147.

The BasicModule class was just touched caused I formatted it.