Made some stylistic changes and added internal infrastructure to support multiple input files. Also changed from sorting by rat integer ID to sort by the string ID. This provides cohesivesness between input files.