Getting cpu bit type for mac. Fixing import problems and sending correct arguments to functions.