Routes example (working in Firefox)
services and some refactoring