added Resource(), to create new resources from Python
2 files changed