Added templates table to database.
Added templates table to database.