moved actions and history to Project.js