Boiler plate code for a java webscraper