Adding missing files to the xam gypi.
Moving kernel functions into their proper namespaces.