Cleaned up code by removing unnecessary comments. Made getClasses() return the list of classes.
Put potentially useful code snippets into seperate .py file.