Complete refactoring and moved all to functions, Fixes #1
Merge branch 'master' of https://github.com/galiral/openstack-bash-installer