First code commit

Beginnings of the lib