complete prototype;  plan database structure