Added documentation
Refactor