Move option parsing functions to options.php
New option framework
Generate form dynamically with the option metadata