add and modify some model classes and api manager

114514!