Adding all of original PIL-raclette code