Project now compiles in MinGW with C++ 11 support

converted Mobile pointers to shared pointers in the factory