Pylint score now 10/10 - need to add unittests as DEBUG method that was used is frowned upon.