temporary commit
replace std::cin with stdin of FILE
updated
add MsgDB and test