restructure settings and sanitization
update readme