Refined the file structures and fixed the loading orders of vendor assets.