Moving engine to another file