remove unnecessary dependencies
remove defaul port value
add pattern matching for init params
start to cover tests