Bugfixes: No duplicated imports, fixes imports in stdlib
Revert "Bugfixes: No duplicated imports, fixes imports in stdlib"

This reverts commit 52de2892088dea6f6fd0afec20a95f45f482c33e.
Handling for external libraries