Code Cleaning And Some Docs Added