Velly: create models and some views functions