Clean-up and initialize the repo

Clean the code for better readability and setting up the repository