Added new naive implementation of embedded resource class