uniqueness constraint on everlytic_id, some pep8 fixes