Added logging to the Application module

Added logging so we know what methods get called by the ModuleManager
and when.