Check plugins and models directory existence

If these repo doesn't exist, it will create them.