Done refactoring most of Engine. Top-level API is now super-sleek.