Setting up logic for resource handling
Merge remote-tracking branch 'origin/master'