added comments to rand,time and essentials library