Added rules to html body
isolated script file so that each class is in its own file