reorganized html, finished styling, added comments and extra functionality