Restructured the repository. Code cleaned and commented