Creating ResourceBinder pattern