diff --git a/conf/lms.conf.sample b/conf/lms.conf.sample
index 2ca863b0..45adfb85 100644
--- a/conf/lms.conf.sample
+++ b/conf/lms.conf.sample
@@ -20,7 +20,7 @@ ui = {
enable = true;
resources = {
- docroot = "/usr/share/Wt/"
+ docroot = "/var/lms/docroot"
approot = "/var/lms/approot"
}
diff --git a/src/database/Playlist.cpp b/src/database/Playlist.cpp
new file mode 100644
index 00000000..ba312b0c
--- /dev/null
+++ b/src/database/Playlist.cpp
@@ -0,0 +1,38 @@
+/*
+ * Copyright (C) 2014 Emeric Poupon
+ *
+ * This file is part of LMS.
+ *
+ * LMS is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * LMS is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with LMS. If not, see .
+ */
+
+
+#include "AudioTypes.hpp"
+
+namespace Database {
+
+Playlist::Playlist()
+: _public(false)
+{
+
+}
+
+Playlist::Playlist(std::string name, Wt::Dbo::ptr user, bool isPublic)
+: _public(isPublic),
+ _user(user)
+{
+
+}
+
+} // namespace Database
diff --git a/src/database/PlaylistEntry.cpp b/src/database/PlaylistEntry.cpp
new file mode 100644
index 00000000..b0b151a1
--- /dev/null
+++ b/src/database/PlaylistEntry.cpp
@@ -0,0 +1,39 @@
+/*
+ * Copyright (C) 2014 Emeric Poupon
+ *
+ * This file is part of LMS.
+ *
+ * LMS is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * LMS is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with LMS. If not, see .
+ */
+
+
+#include "AudioTypes.hpp"
+
+namespace Database {
+
+PlaylistEntry::PlaylistEntry()
+: _position(0)
+{
+
+}
+
+PlaylistEntry::PlaylistEntry(Wt::Dbo::ptr