Refactor controllers to use common initialize method
Update composer dependencies
Refactor key add/edit functionality