removed php from index.html and wrote better class names