added resources
added urls to app and a template directory