refactor, installing router