Fixed function signature.
Added unit tests on basic functions, as well as some small fixes.
Added some more unit tests.
First try with final parsing code.