created library and adventure model