Refactored views/function-box to use models/examples data