Added README, fixed some problems