Create four fundamental tables.

Also update .gitignore to ignore database.