static void Main(string[] args) { libs = new StorageController(); mPub = new MessagePublisher(); libs.GetLibrary(URL); libs.CreateBook(); mPub.MainAsync().GetAwaiter().GetResult(); }