MicroLearn: Framework for machine learning, reconstruction, optimization and microstructure modeling