Add correct database directory
add resources and require.js config stuff