added information about target-os in readme; added comments in code