Switched the python classes to inherit from the base and gui classes.