Added some simple scaffold controllers
Added the unit tests for the machine rest controller.