Adiitional commit.
Implemented database writing.