move custom post types definition out of admin_init into cp-core