move parse and keysymdef to include