Add restful API controllers

Add specs and testing for restful API controllers
Yeah, there were already a couple places to put in aliases and such. It was tolerable, but if there's much more I might feel the same way.