Final version
Clean and comment code
Completed development :)