Add routing for resources (+ fix travis)