Added first implementation of the lib