[MINOR_CHANGE] fix a bug in comment
add a template of the main class of mining