remove underscore as a dependency, write flatten function. v0.1.5