Refactored code that Uforia uses the right code conventions

Did this with help of https://github.com/cburroughs/pep8.py