For the ships, I suggest reading this:
As for the droids, well, I don’t know. i’ll leave it to someone else to explain.