Adding comments for public functions and docs markdown file