implemented simple CLI