added classifier class, unit tests and script to create test db