Improved functions names following PEP8
Mapping between project and repositories added also to db.