input parsing and basic execution