Changed default port to 8640.
Added som comments.