Completed controller scaffold

fixed issue #15