Added engine and linking code, updated routes (hopefully successfully)