The Dividend thing is normally achieved during the year by drawing the money and accounting for it against a loan account (in your case a loan account for each person).
At the end of the year (tax return time maybe 9 months later) your accountant should then rework the figures to break the...