modify page,add entity class,optimization package structure