remove autogenerated file foo.clj
fix scope_settings.xml filename for IDEA
factor out common stuff into util
update doc