Created database class and config file.
Merge https://github.com/webbe/MediaManager