move options related code to separate file
add more option properties to options window