create repository in lib