patch v 0.0.2
 - add logic for count resources
 - restructed system of items