more comments and roxygenized files