259 implement a dao

A basic DAO which can retrieve a list of track IDs or the metadata of a single track.
TODO has been done.