add debugging, add argv handling, add skeleton for module class