add db and various gems
add word scaffold and migrate table
fix template vars