Formatted all source files.
Added Credentials interface to allow non-source configuration.
Merge pull request #3 from bc-luke/credentials

Adds a Credentials interface and unifies formatting across source files.