added events and refactored a bit, as well as, added a list and a calculator class
added a factor to multiply the candle time field