fix readFileSync bug
load custom content template from project

also, really nice refactor on the precompiler