updated views to use Request and Response objects and now wrapping with API view decorator
added support for format suffixes