Fixed menu in media/extension.php and added save and get methods to storage classes and repositorys