Refactored the whole asset loading system