task: introduced controller with puppet.js