added init library and traffic generator, but have not tested it yet