simplyfied the Base controller; added support for method based routing