Working on condensing the meta-box.php using functions