Insurance and liability are key. Your mortgage should be ok, as long as that was the original intent -you didn't move in to a "primary" house , then say oops - and move out to a new primary home. Intent.
In addition to the NC state site, see RentLaw.com The National Landlord Tenant Guides. Great source for many things, even tenant screening - see rentlaw.mysmartmove.com.
Read. Read Books and get your home tenant ready. Check with local municipality as far as any permits or registration or inspections that may be required.