bugfixes;
added empty resource template for static models