Refactors routes to use BazookaHandler.