Added a library and added the init message response logic