fixing extends issue and LICENSE file