database schema. saving data to sql for later.

comments coming soon.