Change dir structure. Add lodash dependency instead of own built-in library