Added readme + some code cleaning