Added Apache Commons library and CheckStyle cleanup.