updating copyright, adding magnet libs.