Putin says Russian history is continuous. Hints at Ukraine endpoint