Added Store class and testing to main.cpp