Issue 193: initial commit

Created smart decorator for the class.