build the admin class and imported it

added OOP to admin.php and imported it within the functions.php