Ok, I get it!
The mains'l - that is the big gaff-headed fore-n-aft sail on the mainmast, can only swing out as far as the main shrouds and backstays allow and your servo ought to allow that. It doesn't need to go out to 90°, 80° will do fine.
The heads'ls depend on how you're going to control them and if they overlap.
If you look at real square riggers, you'll note the heads'l do not sheet to the center line of the boat, but out at the rail. Drawing them in to the center will actually work against you when sailing.I control my heads'l with a semophore-arm set-up. The jib-sheets are on free-swinging arms pushed by a sail-arm-servo. When it's pushing one, the other is slack, like real jibs. The spanker sheet is run to the arm itself, so the servo operates the heads'ls and the spanker.
The spanker, or in your case, the main, are not sheeted to the center-line either. My spanker sheet anchors to a eyebolt on the waterway in the port-quarter, runs up through a block on the boom, then down through a fairlead in the waterway on the starboard quarter, below decks to the to sail-arm in the diagram above.