How to Separate Generator from Engine