Better registry support.
Better registry managment.
Fixed bug and improved unit tests.
Added tests for magnet link association.