Approaching a working implementation of metadata upload. (#20)