minor template change
change framework to accept custom routes
Added topic handlers & routes.