fixed prop reader regex to handle comments. closes #2
fixed endpoint function to properly default to loopback