migrate stuff from negochat project