Created a model function to retrieve all contents in alphabetical order.
Added closeDatabase to DBinterface and model.