started Application class, currently a stub
partially migrated logic into the new Application class, more to follow.