Reverted media to version 1.x

Reverted media to version 1.x and removed file_entity.