Gemfile, spec placeholder, whitespace cleanup, start of refactoring footprint code

This is just a start.

I didn't get all the tabs.