There are lots of framework out there that can speed you up like http://smashfreakz.com/2012/11/wordpress-theme-option-frameworks/. However, if you want to develop yours from scratch, you can do a bit of google search and you will get relevant results.