Optimize the implementation of get engine.
Add files for generating windows installer.