Read constants.yml and connect to DDBB. Fix registrations command