Moved splines into engine

Moved splines into engine