Move constructor

Also explicity set pin to INPUT on initialisation.
Add .gitignore