Commented, cleaned up code, some refactoring