refactor study models, views and study api

refactor StudyHistory
update Study UI

having NewStudy/Revise/Recap three main functions.