moved most methods to the object prototype including fetch