Step 2 refactoring Mistral engines

 * Combine common parts of single and scalable engines

Change-Id: Iaa8708a831ca22a79d3ecd59c960be09a904e57a