See if this makes things any more clear

Changed the logic around, made Main class extend application :rabbit: