If you entered legally, you're in pretty good stead.

Your spouse will need to file the I-130 and the I-485 on your behalf.