Switch library loading to composer