migration to OO

create object for jbot