Use static list of routes with Handler mapping isntead of if/else