Refactored the way the cookbook works. It is now a client or server model