changed relative urls to url_for calls
removed some syntax errors
added sym link to ref static files in openshift env