Fixed resource creation by remioving resteasy.scan and using the spec
way to register them