Fixed potential namespace instantiation issue and changed License to GPL