Create MediathequeError and change the way I import libs