cleaned old code. updated readme