refact: refact all check functions to checker object.