issue #5

Added base class Structure
Also changed 'ressource' to 'resource'