Added is_headless setting condition
Added server settings xml
Initial --headless option