posops: new module with functions working with the position in message buffer