put custom KryoRegistrator in main