Refactored the tornado app a little to work with 2 get parameters instead of just 1