Type-Checking Modules and Imports using Scope Graphs