Move the get and post methods out into their own classes to use as mixins