changed to use Shoes as a class instead of a module as per #302