checking in working swap trainging page. still a few bugs to work out but mostly complete