Added license notices and vim modelines to files