New import & export functions.

The script kept the backward compability but got some new functions to import and export datas.

The manager now uses the new import functionality.