Major Refactoring. Renamed Variables to more pythonlike syntax.