Added pin scaffold and controller