rewrite polyorg to meet our needs, create basic form and list views, fix #268