Basic database impletation working.