Changed internal imports to relative imports.
Added plain text model IO support
Merge branch 'master' into kai-branch