Database handling and fetching related to single list. Base template for list-view.