-Finished main implementation of warp engine