fix source map handling. export compile/renderFile/renderData methods.