Fix buffers and memory leaks

Signed-off-by: Nikita 'webconn' Maslov <wkernelteam@gmail.com>
Add README

Signed-off-by: Nikita 'webconn' Maslov <wkernelteam@gmail.com>