Adding mem free. Adding comments
Started experiments with libffi

Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>