Complete refactoring to convert all innerHTML to pure DOM + file organization
Addition to previous commit