Added documentation
Get key inputs and change the location of some methods