Coding format changed and several style modifications
Several modifications