creating analyzer class