implements basic router
Merge pull request #2 from aravindc26/feature_router

implements basic router