PEP8, efficiency fixes, completed many unfinished classes, requirements.txt

PEP8, efficiency fixes, completed many unfinished classes, requirements.txt, typo fixes, setuptools conformance and many minor changes