Adding DocBlocks for resource classes.
Fixing code formatting per PSR-2.
Adding DocBlocks for resource class properties.