Setting up cli and basic configuration parsing.