convert platform.ts to module
added presentation