edited and added comments

Edited and added comments to osmap.module