Add exists classmethod

Changes the create and delete methods of the base class from `@staticmethod` to `@classmethod`.
It adds a new `@classmethod`: `exists`. This methods is useful to avoid inserting the same information twice in the DB. Will be needed later to avoid running the same analysis/job twice for example.