api3 and BAO class is created