Updated Framework

Fixed garbage collection system