make it as lib
maj readme