Saving works.

Also edited table structure.