add and modify some model classes and api manager
Merge pull request #5 from ENIXER/feature/api_manager

add and modify some model classes and api manager