finished most code of EntitySchema
add some new classes