Implement the possibility to use option Offset() also in PLC
replace auto_ptr with new C++11 smart pointers (shared or unique_ptr)