Added simple SharedPtr implementation. Still needs some unit tests.