adding doctypes route
manage document types
edit doctype
destroy doctype
getting doctypes via API