Set up input and made map move