adds create_folders method to Collection class