made the thambynagam module into standard class with working example