add draft model, use postgresql for db