Database creation script, layout doodling, and some basic functionality