implement relationship data and functions inside neo core classes