Pull request - 08-25-2014

First code review
Do not write to stdout. Use Rails' logger if you want to log.