removed id from html, replaced with classes
removed inline eventlisteners, add them programatically