Add adapter and schema index as global field

refactor of model schema
refactor of configuration
refactor of model repostitory
refactor of migrators => two kinds are planned