Documentation modified - minor fix in code

Now documentation describes al the methods and how to use endpoints