add setCurrent and getCurrent to resourceFactory
Merge pull request #1 from incrediblesound/master

add setCurrent and getCurrent to resourceFactory