Fixed some SM code
adjusted Player use Direction-enum instead of strings. Updated dependent code.