refactored API

There is 404 error for http://optima.dev/api/model/view url