Replaced view class with resource-specific render-methods and a Template class, added templates for error codes, added bootstrap style