Application class setup