Move the platform-dependent file to own directory
Updated platform files