rename resource to assets
Add config file and reload support