refactor the Twett class to be more DRY and create get_client method