added global error handling using express.js error middleware,
fixed api controller endpoints,
added company service and model