refactor and document compiler and write hook
document config file
document local server
update extensions docs
small bugfixes, tests for write hook in place
patch for files with no extension