Refactor app.module

Signed-off-by: cameronbourke <cameron2295@gmail.com>