Modified the main code, renamed the readme file