added better caching
initial commit
remote address check will be done over the api
adding masters
doing less verification up front
adding todo