phpdoc + add helpers to models
fix proposition template