fixed editor
added character loader separate from main file