Add basic functions

Signed-off-by: Eduardo L. Francisco <eduardolf85@gmail.com>