Added documentation and simple sample feature