update statics
introduce new templates
fix api docs