started character code, added settings file