Create Engine and Helper class. Implement write to file function