Fixing the broken application module

for some reason I had left the Application module in a broken state.
Guess I hadn't finished it afterall.