Added documentation and sample files