Split up request handlers, mime type for resources