Transaction wrapper
Renamed tables
Added friends inserting
Added Media::toString()
Added insertion of days spent