Add a framework for creating APIs easily
default to annotations if no mapping is provided