Logic Programming library for Machine Learning: API design and prototype