Add .gitignore file to ignore .pyc files
Delete trailing whitespace
Make add_atom importable by putting its code inside a main function
Break out post creation to a separate function, add tests for that function.
Remove us of fakes from unit tests, the actual types are lightweight enough
Simplify create_post function, use create_post in main
Change main to be a generator to facilitate unit testing