A command router for Java/Android