Code rafactor. Added lodash and its templates to project.