change thrift server  read sys config

TODO add lager
ignore mnesia
add ignore