setup config for register
added travis yml