Added method for taking index filename as argument from the command line.
Restructures the response object when returning multiple companies. Updates tests accordingly.