Add erb template and accomdate methods