Added the readme and structured the code