Updated structre and added a few comments to code