added cpplint for checkstyle and minor improvements