added routes
fixes in routes and added partial sub & webapp implementation