Added the two removed functions and executed them in the constructor; removed the function addRoutes from RouterManifest class; and renamed setRoutes to addRoutes in the RouterManifest

Signed-off-by: license2e <ilya@shindyapin.com>