add model to libs
qdjango and model refactor