moved the selenium webdriver to a class which takes care of
all the webpage interaction.
added minor comments.