improve architecture, stand up to DOS attacks