Created init command and associated tests