refactor assets libraries