Adding basic market simulation
Refactoring of charts again