resource dictionary handling

unify create and resource dictionaries in Agent and Observers classes