separate options.h
separate options.c
refactor