fixed content flip
Added xml-based loader for characters