Updated and refactored all files to be more pylint friendly. Still needs more refactoring...