Update interface functions
Update test code
Merge pull request #3 from egisatoshi/new_interface

Update interface functions