Add Platform class for platform specific code.
Remove forking code.