Added ability to construct classes from memory
Merge pull request #60 from myrup/patch-1

Added ability to construct resources classes from memory