At start application creates service dir and emptry database.