Replaced tabs with 4-spaces indentation where needed, reformatted most files so functions had proper spacing between them and added a couple of ToDO annotations.
Login for dashhboard and some file corrections.