Updated Bitbucket Comments, fine tuned logging and fixed few bugs