add mapper and register in appstart