[Common][Worker][App] Fixed deprecated warnings for connect 3.0 (removed bodyParser and added json and urlencoded instead). Restructured and optimized the worker configure method. Added route sorting for the MVC loader.