setup db and created scaffold model for picture