a neater dependency solution and addition of flag to avoid separation of application and graal class loadfer