Initial setup of engine