Add gitignore
Refactor code to allow for less painful deployment

Following Donald Tuft's recipe from
https://caremad.io/2014/11/distributing-a-cffi-project