Added locale support
Updated index route
Refactored errors a bit
Added route middleware for all routes and CORS implementation