Moved documentation from commented code to readme