Model file

Purpose of this file is to contain functions to create connections to
the database, fetch collections through a class interface and also to do
the processing to create play lists for different types of users.