Add resource.py, test on object methods