added behavior for consuming resources
refactored resources and plants into separate packages