Updated Resource Class API

Add transactions to the database operations
Add GET and DELETE operations
Support association of Racks in POST operation
Starts work on nested marshalling