Created Resource class. Fixed some bugs. Worked on resource gathering and allocation system.