improve resource module; implement accessing to constants and static
methods in freemarker