Expose few more base functions
Add (failing) tests

My basic Makefile still continue to work fine.