register post type and add meta boxes