Make application class a singleton.