Added custom Application class