Adding TDD, rake, and some middleware