add support for options array
add settings support to admin class