how do you create an admin interface in plugin for your theme

The newest and most complete tutorial to the settings API can be found here. I’d suggest to take a look there. I used a pretty similar way myself.

Sidenote: You should really mark some answer a solution. “0% acceptance rate” will people hold back from answering your Qs anymore.