Added recursive library support and overhauled the import menu system