readme added and code organized