added some imitialization and started the cli