Application class and moved ContactsModel instance to application.