Final new design based on objects Processor and Resource and basic
implementation of them on PCFG