main input loop moved to fate core