changed elements

changed templates object into separate elements to allow for separate
customization by users