Plugged a new db and updated templates