added command line interface and started moving cloud init scripts into fragments for composition