Updated Resource class.

Added maximum and delta variables to init and del, plus implemented accessors for new variables. Refactoring to occur very soon.