Refactored loads of classes and modules. Added threading for yahoo finance api queries.