Major refactoring
Added timeseries
Added persistency
Added graphs
Attention, preliminary commit (not everything works as intended yet)