remove unused configure options
update readme for usage message
make modules and hooks optional
validate configuration options