router added; added logic for routing app;
routes added; handlers for routes added;