improved the generator and changed README