added README; minor fixes and cleanup