added an example of single class endpoint controllers