Move libraries to separate project