[YMP] Code refactoring + added loading assets