Moved template into constant variable to get rid of bindata