Added static route. A little refactoring.