working generator with bare bones functionality
Added lodash conditional, further grunt optimising