added compileLocal, copyFile, and appendFile methods, also api docs