Added documentation and example application