Add bulitin sm_stats/sm_rank command and cleanup weapon logic.