Consistent naming for internal variables
Adds initial cookbook docs