sources reorganization with dynamic libraries