> define decorator concept to render data array of attached resources.
> remove unnececery files and centeralized codes