liblinear module
refactoring