added support for bnls packets; refactoring of packet struct (possibly more changes to come)