Refactor code

Move Store class, add loadProducts as deprecated function and more.
Remove Store class