assets loader prototype