Initialization and options validation