create libraries in public directory