updated readme to use resources.groovy instead of applicationContext to ...

updated readme to use resources.groovy instead of applicationContext to define bean