Framework for data science as a service