Added license.
Fixed setup and appconfig