make baileys require()-able, and define an api for it

parseString and parseFiles