initial framework
swap files