added compileFile() and checkCompile() for #148 and #132
Merge branch 'server' into submodule