Code restructuration (prepare for GLUE2 support)
Code restructuration (prepare for GLUE2 support)