Decoupled application class and compiler