added static resources mapping, minor changes in view