remove some unused file and add public course function.
Split message to diff properties.