Added a controller and some methods for testing.