Added first version of lib