checkstyle for model package

spaces, periods, and renamed variables to match the checkstyle.