Added Index. Abstracted the query out to a new class DataAccess. Made
the relevant changes in Stock and Index. Cleaned up formatting in
Portfolio.