fix multiple instances
extend routes
json rendering is a bithc
adjust api