added /plugins and /resources, sqlite (sorta) works, no cleanup yet