Adding Misplaced Code To Ship Improvements

I misplaced some code, so I'm performing this pull request to add it. It also adds a gitignore that could also be useful.