standarizing the create table formatting
add triggers, corrected formatting