added checkstyle and licence