Use open pilot/libre pilot as a vehicle. There's a couple youtube videos about it. But if you're using cc3d still, just tweak the open pilot settings to work for you. Try some of the stock options before altering PIDs and take note of what's working each flash. Eventually you may not need to change programs.