better command dispatch via regex
removed old router code