You can now pass in buffer directly instead of file paths. Added missing callbacks

Signed-off-by: Johny Jose <johny@playlyfe.com>