added database scafolding and edited a bit