The "loader.close()" seems to be broken on Mac OS X
Added a class to store dependency management information