WordPress Metabox Generator Class