move templated descriptions to files. possibly fix memory leak. fix #177