Made persistence work.
Removed logs.