Add Set class and tests