Made a bigger part of the application asynchronous