Adding ability to build with cargo
Changing function signatures to be consistance with respect to strings