Fix json setting for legend alpha value
Move functions from DrawingLifeApp to separate classes

New classes DataLoader, ViewHelper and Utils.
Refactorings