Creating application class.