Change mathod ProccesInput

Create methods ProccesMove and ProccesCommand