Improved and stabilized API

Changed the way calls work for sane multiple device support, split MAPRANGE into PINMEM and MAPRANGE, added flags argument to transfer commands, added dual channel transfer mode.