Wrote create command, some cleanup.