Resources constructors reimplemented; Functionizer moved to a module; Specs fixed to work in IE