Split up ibeiscontroller into several modules