[code] organize Odyssey Core in library