added CLI and simple migrations