Added documentation for getData method and fixed typings
Better formatting and documentation
Explanation of / route