Rename module creation function

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
Pass note parameter in sfx sample replay

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
[test] Add test for module creation API call

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
Fix memory allocations in module creation

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>