Fixed resource routes.
Used relative resource paths in config.
Fixed uses.