moved Base_Mac class to mac subpackage