Cleaned up the code. Added portuguse localisation. Commented the code and added a text describing the dev. process and decisions made.