create andbackup class(based on thread) to deal the backup thing for each device

Signed-off-by: Karfield Chen <karfield@126.com>