Added a lot of comments; IP auth customizable; register commands