Pillaged the routing from Scalatra. Not entirely functional yet.