Removed max_distance from output name when doing galaxy output.
Added galaxy tools definitions.