Add contract class (schema) and db open helper