fix get_lastmonth bug
add tools
add some codes for coding and asm