changed models to add language type, modified job_compiler to work in environment