Created seperate classes for the database.

DBOpenHelper creates the database, model has all the required fields.