move prefix logic to factory
convert route constructor params to setter methods
update todo