adding documentation and fixing formatting
more docs - types done
final documentation run done, no trailling whitespace
updating readme with start of style guide, ref #14
more style guide
renamed defaultConfig to default_config
Merge pull request #27 from haf/feature/api-docs

adding documentation and fixing formatting