AES added and read/write capture implemented