Licenses and Cleaning up code rot