Creating a  main allocator for the application class.