add getbasetablenames and apicontroller will return model