Changed .img to .media

related to #18, making things a bit clearer in the code