pub fn initialize_platform() -> Result<()>
Initializes the platform before any I/O.
MUST be called as the first operation in main().
main()