Enabled modules and replaced all apple foundation imports