Decouple endpoint and method objects

This fixes: https://github.com/kahnjw/endpoints/issues/33