First version of library