Settings API changes

Changed settings screen to use WordPress settings API (http://codex.wordpress.org/Settings_API)