Add a .gitignore file
Setup a testing environment
Add some basic (though comprehensive) tests