Add example REST interface

This is by no means complete, but I want to show how it uses the new controller and annotation interfaces.