added code and readme content