added PATCH support
removing some un-used references
removed unused using statement