Created library to handle cookbook logic