Added the MigationProvider system to manage the migrations of beans.
Read and write to java streams.