First step to database implementation

(unpublished)