Transitioned to a class and function structure to make future implementations easier.

Fixed whitespacing all around to comply with PEP8.
Removed old setup.py file.