index.html

Have written some main functions.