fixing parts of issue #2

adding support for method in RequestMapping