Added basic sql tables for sqlite.

Someone please check if I did them correctly.
Relations do exist, though.