Fixed lost directory. Added documentation.