remove plyr library
move stats into analysis/