added a test action and improved the model
changed db layout and sample contents