consolidate reference files, create bin dir