Restructures app and sets up for TDD.