add API basic model/controller/views
add json default to api namespace