Removed ApiKeys from the project model as they are replaced by tokens. We still need a migration script for this.
Added a token repository.