[WIP] DB storage

Store data in database.