1. Created class 'StockMiner' by converting existing code to class structure.
2. modified the test case accordingly to accomodate the class implementation.

Comments hasn't been updated yet...