create platform & engine class