Adding the documentation and performing some testing