add/edit/format function info, add robust custom post type creator