Added a basic model for easier DB interaction.