Code refactoring

* Add possibility to set keystone protocol (http/https)
* Some improvements in code
6 files changed