updated license to apache and checkstyle fix (AISVIEW-9)