Added TkFlow class with class methods.