Move some stuff out of Engine

Signed-off-by: Jack Huey kitskub@gmail.com