first attempt at simple command parser

no actual side-effects yet