Added dashboard currency setting
Moved last logics into model Added comments Simplified calls
Moved most DB calls and logic into the model