added method getAndPrintDataFromWebsite() and made some refactor