moved language and settings into __init__ in logic