Modification of main application AppRunner.java to make it work