generalize resource options
initial resources_path implementation