adding resource module from gem