Move library to separate project