Added factory method for options from definition array
Configuration object now work with Option instances
Option objects are generated when configuration is used