Added python requirements and removed old style classes