organize html and python files

made two separate files - one for html and another for python