Common classifier with adjustable threshold.
Cleaned libfann imports.