Feature/add resource to stash

Fix #6