What is a codebox and how does it work?