Created Stock Helper class to help handle data

The logic to handle data has been improved.