Added resources pointer to service

Added resources pointer to service