Started implementing data retrieval of releases.
Made stubs abstract to avoid instantiation.
Added type field to media to make filter and limit queries easier.