Implement many native methods

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