create separate class for making web requests