Added README, cleaned comments, various other fixes