Migrated the file and package structure. Implemented checkpoints.