Basic engine functionality finished