Added database and model examples to common programming