Switching "Build a Species Tree" app into generic method.