added register_post_type function at lines 54 to 61