Moved Engine class to common library project.