prepare templates
separated generated docs, few fixes