removed some hardcoding in index templates
Added namespacing in urls to allow for mulitple apps