rename main.cpp -> publisher.cpp