Updated Readme.md and added some functions into index.php