refactoring config
rewrite player move