base code now (mostly) pep8 compliant. naming inconsistency in examples also solved
conflicting headers, something might break