add money.cpp
add typeid and smart pointer