liu

update some method of creating views and cut some needless code