Added option functions

Added addOption function
Added getOptions function
Added getLastOptionAddTime function