added documentation and updated version number