add main to init repo