Some tweeks to the codes, integrated gulp to do some magic and added some rather rubbish comments.