changed structure of plugin to separate registrations and metaboxes