src: added database for saving