version 0.4, add template inheritance, ajax template loading, simple data escaping