Cleaned AppModule.cs up and added some comments