End of the semester, all works updated.

Many refactors to all my work in this semester so the code looks nicer.