Moved platform specific code and resources into separate directories.