Improve documentation.

Documentate important methods in readme file and write todos at code.