Several small tweaks and NPE fixes
Updated how resource and source directories are found and arranged. Making the /resource subfolder of site is now the recommend way.