moved msg folder to the right location
set up message generation