Add database initial work and files reorganisation