Working IP change form.

Cleaned up some code here and there on the way,
as well as moving the templates directory out
of the static dir allong with the appropriate
settings changes.