initializing the library and planner