api3 and BAO class is created

You might also want to remove the magic word condition