Add readme, refactor a bit and improve comments