in java make the router even easier using annotations