moving things around

separate 'Resource' and 'RequestHandler'