added database model and creation script for real