PSR-4'd the composer file. changed logic to pass data at generate time, __invoke added