Introduce c++11 and shared_ptr
Fix wrong destructor in FPS clas