handler prototype working

allows handlers to be created from python classes and invokec by
callback observers