Added config and commandHander. slowly starting to get somewhere