Adding PHPDoc and update main page

Adding PHPDoc and update main page