Initialize engine structure