Make a library file with some constants and a function to pack olm-encrypted events (which we are going to use from megolm)