Refactor theme and repository asset handling
Add all changes wip